﻿using System.Windows.Navigation;
using MaterialDesign3Demo.Domain;

namespace MaterialDesign3Demo;

public partial class Fields
{
    public Fields()
    {
        InitializeComponent();
        DataContext = new FieldsViewModel();
    }

    private void Hyperlink_OnRequestNavigate(object sender, RequestNavigateEventArgs e)
        => Link.OpenInBrowser(e.Uri.AbsoluteUri);
}
